package com.copa.gamestore.module.gameGoods.application;

import com.copa.gamestore.common.response.ResponseVo;
import com.copa.gamestore.module.gameGoods.domain.GameGoods;
import com.copa.gamestore.module.gameGoods.dto.GameGoodsDto;

import java.util.List;

/**
 * @author copa
 * @createDate 2022-09-26 18:18
 * @function
 */
public interface GameGoodsApplicationService {
    ResponseVo<String> add(GameGoodsDto gameGoodsDto);

    ResponseVo<List<GameGoods>> get(String name);

    ResponseVo<GameGoods> getDetail(Long id);

    ResponseVo<String> modify(GameGoodsDto gameGoodsDto);

    ResponseVo<List<GameGoods>> getAdmin(String name);

    ResponseVo<GameGoods> getDetailAdmin(Long id);

    GameGoods getById(Long id);

    Boolean validateGoods(Long id);

    void stock(Long id, Integer num);
}
